package com.znzz.dao;

import com.znzz.domain.Student;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface StudentDao {
    @Select("select sno id,ssex sex,sbirthday birthday,sname name,password,clazz from student where sno = #{id}")
    Student getById(String id);
}
